package com.alex.gridview;

import android.content.Context;

import com.alex.ui.ass.IAdapter;
import com.helios.ui.IView;

public class GridAdapter implements IAdapter {
	
	private Context mContext;

	public GridAdapter(Context context) {
		mContext = context;
	}

	@Override
	public int getCount() {
		return 50;
	}

	@Override
	public IView getView(int index, IView contentView) {
		IView rslt = null;
		
		if (null == contentView) {
			contentView = new ItemView(mContext);
		}
		
		rslt = contentView;

		return rslt;
	}

}
